<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/10/30 0030
 * Time: 下午 2:08
 */
namespace app\common\validate;

class BusinessareaValidate extends BaseValidate{
    protected $rule = [
        'globalName' => 'require|isNotEmpty',
        'province' => 'require|isNotEmpty',
        'city' => 'require|isNotEmpty',
        'area' => 'require|isNotEmpty',
        'input_address' => 'require|isNotEmpty',
        'addressGeo' => 'require|isNotEmpty'
    ];

    protected $message = [
        'globalName' => '商圈名称不能为空',
        'province' => '省不能为空',
        'city' => '市不能为空',
        'area' => '区不能为空',
        'input_address' => '详细地州不能为空',
        'addressGeo' => '经纬度不能为空'
    ];
}